import request from '@/utils/request'
const api_name ='/eduservice/path'
export default {
  getPageList(page, limit, searchObj) {
    return request({
      url: `${api_name}/getFrontPathList/${page}/${limit}`,
      method: 'post',
      data: searchObj
    })
  },
  getById(id) {
    return request({
      url: `${api_name}/${id}`,
      method: 'get'
    })
  },
  getCategoryList(){
    return request({
      url:`${api_name}/getCategoryList`,
      method:'get'
    })
  }
}
